/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.terminalrodoviario;

import java.util.Date;

/**
 *
 * @author TIAGO
 */
public class Solicitation extends BaseEntity<Solicitation>{

    // <editor-fold defaultstate="collapsed" desc="Builders">
    public Solicitation()
    {
    }
    public Solicitation(Integer status, Company company, Date dateSolicitation, Date dateResolution, String description)
    {
        this.status=status;
        this.company=company;
        this.dateSolicitation=dateSolicitation;
        this.dateResolution=dateResolution;
        this.description=description;

    }
    // </editor-fold>

    // <editor-fold defaultstate="collapsed" desc="Properties">
    private Company company;
    private Integer  status;
    private Date dateSolicitation;
    private Date dateResolution;
    private String description;

    /**
     * @return the company
     */
    public Company getCompany() {
        return company;
    }

    /**
     * @param company the company to set
     */
    public void setCompany(Company company) {
        this.company = company;
    }

    /**
     * @return the status
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * @param status the status to set
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * @return the dateSolicitation
     */
    public Date getDateSolicitation() {
        return dateSolicitation;
    }

    /**
     * @param dateSolicitation the dateSolicitation to set
     */
    public void setDateSolicitation(Date dateSolicitation) {
        this.dateSolicitation = dateSolicitation;
    }

    /**
     * @return the dateResolution
     */
    public Date getDateResolution() {
        return dateResolution;
    }

    /**
     * @param dateResolution the dateResolution to set
     */
    public void setDateResolution(Date dateResolution) {
        this.dateResolution = dateResolution;
    }

    /**
     * @return the description
     */
    public String getDescription() {
        return description;
    }

    /**
     * @param description the description to set
     */
    public void setDescription(String description) {
        this.description = description;
    }
    // </editor-fold>
    
}
